#!/bin/sh
if [ ! -d /var/log/postgresql ] ; then
   mkdir /var/log/postgresql
fi
exec /usr/bin/svlogd -tt /var/log/postgresql